/*-
 * Copyright (c) 2007 Microsoft
 * All rights reserved.
 */

#pragma once
using namespace System;

namespace Microsoft{
    namespace ComputeCluster{
        namespace MpiNet{

            ///<summary>
            ///Helper class to initialize MPI
            ///</summary>
            public ref class Core
            {
            private:
                static bool IsInitialized;

            public:
                static bool Initialize(array<String^>^ param);
                static void Shutdown();
                property static String^ ProcessorName
                {
                    String^ get();
                }

                property static double Wtime
                {
                    double get();
                }

                property static double Wtick
                {
                    double get();
                }
            };
        }
    }
}